function editLinkOnclick(name) {

	$("#dialog-form").dialog("open");

	$("[id='form:edit_transaction_reference_name']").val(name);
	$("[id='form:edit_transaction_reference_name']").text(name);
	$('[id="form:edit_name"]').val(name);
	$('[id="form:load_btn"]').click();
	return false;
}

function deleteLinkOnclick(name) {

	var r = confirm("Are you sure to delete Transaction Reference Number: "
			+ name + "?");
	if (r != true) {
		return false;
	} else {
		return true;
	}
}